package com.fs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "创建订单时提交的数据模型")
public class OrderCreateDTO {

    @ApiModelProperty("收货人姓名")
    private String receiverName;

    @ApiModelProperty("收货人手机号")
    private String receiverPhone;

    @ApiModelProperty("收货地址")
    private String receiverAddress;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("支付方式：1微信 2支付宝 3银行卡 4货到付款")
    private Integer paymentMethod;

    @ApiModelProperty("订单项列表")
    private List<OrderItemDTO> items;
}
